package com.shiliao.app.activity.index.service.impl;

import com.shiliao.app.activity.index.entity.DailyKnowledgeEntity;
import com.shiliao.app.activity.index.service.IDailyKnowledgeService;
import com.shiliao.app.manager.NetworkManager;
import com.yimei.framework.mvp.service.impl.BaseServiceImpl;
import com.yimei.framework.network.ICallBack;

import java.util.HashMap;

/**
 * Created by yinzhiqiang on 2017/9/7.
 */

public class DailyKnowledgeImpl extends BaseServiceImpl<DailyKnowledgeEntity> implements IDailyKnowledgeService{
    @Override
    public void loadData(String url, HashMap map, ICallBack mCallBack) {
        try {
            NetworkManager.loadDataByPost(url,map,mCallBack);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
